<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    const arr = [
      { name: '李思思' },
      { name: '李大' },
      { name: '李二' },
      { name: '卡卡西' },
    ]
    // 得到 满足条件的第一个
    const obj = arr.find(function (item) {
      console.log(item)
      return item.name === '卡卡西'
    })
  </script>
</body>

</html>